package com.ruoyi.purchase.mapper;

import java.util.List;
import com.ruoyi.purchase.domain.ProcOrderExecution;

/**
 * 采购订单执行记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface ProcOrderExecutionMapper 
{
    /**
     * 查询采购订单执行记录
     * 
     * @param executionId 采购订单执行记录主键
     * @return 采购订单执行记录
     */
    public ProcOrderExecution selectProcOrderExecutionByExecutionId(Long executionId);

    /**
     * 查询采购订单执行记录列表
     * 
     * @param procOrderExecution 采购订单执行记录
     * @return 采购订单执行记录集合
     */
    public List<ProcOrderExecution> selectProcOrderExecutionList(ProcOrderExecution procOrderExecution);

    /**
     * 新增采购订单执行记录
     * 
     * @param procOrderExecution 采购订单执行记录
     * @return 结果
     */
    public int insertProcOrderExecution(ProcOrderExecution procOrderExecution);

    /**
     * 修改采购订单执行记录
     * 
     * @param procOrderExecution 采购订单执行记录
     * @return 结果
     */
    public int updateProcOrderExecution(ProcOrderExecution procOrderExecution);

    /**
     * 删除采购订单执行记录
     * 
     * @param executionId 采购订单执行记录主键
     * @return 结果
     */
    public int deleteProcOrderExecutionByExecutionId(Long executionId);

    /**
     * 批量删除采购订单执行记录
     * 
     * @param executionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProcOrderExecutionByExecutionIds(String[] executionIds);
}
